<?php

namespace Server\protocol\QD\UserService\UserObj;

use Server\protocol\QD\UserService\UserObj\classes\CommonInParam;
use Server\protocol\QD\UserService\UserObj\classes\CommonOutParam;
interface UserServiceServant {
	/**
	 * @return int
	 */
	public function ping();
	/**
	 * @param struct $inParam \Server\protocol\QD\UserService\UserObj\classes\CommonInParam
	 * @param vector $usersId \TARS_Vector(\TARS::INT64)
	 * @param struct $outParam \Server\protocol\QD\UserService\UserObj\classes\CommonOutParam =out=
	 * @param map $info \TARS_Map(\TARS::INT64,\Server\protocol\QD\UserService\UserObj\classes\User) =out=
	 * @return void
	 */
	public function getUsersInfoByIds(CommonInParam $inParam,$usersId,CommonOutParam &$outParam,&$info);
	/**
	 * @param struct $inParam \Server\protocol\QD\UserService\UserObj\classes\CommonInParam
	 * @param long $userId 
	 * @param string $sessionKey 
	 * @param struct $outParam \Server\protocol\QD\UserService\UserObj\classes\CommonOutParam =out=
	 * @return void
	 */
	public function checkSession(CommonInParam $inParam,$userId,$sessionKey,CommonOutParam &$outParam);
	/**
	 * @param struct $inParam \Server\protocol\QD\UserService\UserObj\classes\CommonInParam
	 * @param string $nickname 
	 * @param string $password 
	 * @param struct $outParam \Server\protocol\QD\UserService\UserObj\classes\CommonOutParam =out=
	 * @param long $userId =out=
	 * @param string $sessionKey =out=
	 * @return void
	 */
	public function login(CommonInParam $inParam,$nickname,$password,CommonOutParam &$outParam,&$userId,&$sessionKey);
}

